package com.aspose.cells;

class zdg extends zcdb {
   zdg(znb var1) {
      this.d = 423;
      this.c = new byte[48];
      byte var2 = 0;
      System.arraycopy(var1.n.a(), 0, this.c, var2, 16);
      int var4 = var2 + 16;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.q), 0, this.c, var4, 4);
      var4 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.D()), 0, this.c, var4, 4);
      var4 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.I()), 0, this.c, var4, 4);
      var4 += 4;
      byte var3 = 0;
      int var5 = var3 | (var1.n() ? 1 : 0);
      var5 |= var1.v() ? 2 : 0;
      var5 |= var1.w() ? 4 : 0;
      var5 |= var1.x() ? 8 : 0;
      var5 |= var1.B() ? 16 : 0;
      var5 |= var1.A() ? 32 : 0;
      var5 |= var1.e().getCenterHorizontally() ? 64 : 0;
      var5 |= var1.e().getCenterVertically() ? 128 : 0;
      var5 |= var1.e().getPrintHeadings() ? 256 : 0;
      var5 |= var1.e().getPrintGridlines() ? 512 : 0;
      var5 |= var1.e().isPercentScale() ? 1024 : 0;
      var5 |= var1.r() ? 2048 : 0;
      var5 |= var1.s() ? 4096 : 0;
      var5 |= var1.p() ? 8192 : 0;
      var5 |= var1.o() ? 16384 : 0;
      var5 |= var1.u() ? 131072 : 0;
      var5 |= var1.t() ? 262144 : 0;
      var5 |= var1.k() ? 524288 : 0;
      var5 |= var1.l() ? 2097152 : 0;
      switch(var1.F()) {
      case 0:
      default:
         break;
      case 1:
         var5 |= 4194304;
         break;
      case 2:
         var5 |= 8388608;
      }

      var5 |= var1.q() ? 33554432 : 0;
      switch(var1.E()) {
      case 0:
      default:
         break;
      case 1:
         var5 |= 67108864;
         break;
      case 2:
         var5 |= 134217728;
      }

      var5 |= var1.G() ? 536870912 : 0;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var5), 0, this.c, var4, 4);
      var4 += 4;
      zcch.a(CellArea.createCellArea(var1.i(), var1.j(), var1.i(), var1.j()), this.c, var4);
   }
}
